public class Demo {
    public static void main(String[] args) {
        char c1 = '\\'; // 将转义字符 '\\' 赋值给变量c1
        char char1 = '\u2605'; // 将转义字符 '\u2605' 赋值给变量char1
        System.out.println(c1); // 输出结果\
        System.out.println(char1); // 输出结果★
    }
}